﻿//////////////////////////////////////////////////////////////////////////////////////
///// Map.cs                                                               /////
///// Stage에 따른 Map 정보 로딩                            /////
//////////////////////////////////////////////////////////////////////////////////////
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Input.Touch;
using Microsoft.Xna.Framework.Media;

namespace Pyramid_Game
{
    public static class Map
    {
        #region Declarations

        public static List<Floor> floors = new List<Floor>();
        public static int playerPoint = 0;

        #endregion

        #region Constructor

        public static void LoadMap()
        {
            floors.Clear();

            if (GameConstants.stage == 1)
            {
                Map01.LoadMap();
            }
            else if(GameConstants.stage == 2)
            {
                Map02.LoadMap();
            }
            else if (GameConstants.stage == 3)
            {
                Map03.LoadMap();
            }
            else
            {
                Map01.LoadMap();
            }
        }

        #endregion
    }
}
